package com.sunxiansheng.user.service;

import com.sunxiansheng.user.entity.PageResult;
import com.sunxiansheng.user.entity.dto.UserDto;
import com.sunxiansheng.user.entity.po.UserPo;

/**
 * Description: service：dto查，vo封
 * @Author sun
 * @Create 2024/7/9 16:41
 * @Version 1.0
 */
public interface UserService {

    int addUser(UserDto userDto);

    void delete(Long id);

    PageResult<UserPo> getUserPage(UserDto userDto);

}
